package com.itheima.health.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.health.pojo.ExaminationReport;
import com.itheima.health.pojo.Setmeal;

import java.io.IOException;
import java.net.MalformedURLException;

/**
 * @Author ： ZAG WELL
 * @Date : 2020/12/7
 */
public interface CheckResultService {
    /**
     * 编辑医嘱信息
     * @param
     */
    void updateAdvice(ExaminationReport examinationReport);

    /**
     * 当体检人到达机构 修改order状态为已就诊时生成检查项医嘱列表
     * @param orderId
     */
    void generatAdvice(Integer orderId);

    /**
     * 通过orderid获取当前体检报告信息
     * @param id
     * @return
     */
    ExaminationReport getExaminationReport(Integer id);

    /**
     * 将体检报告上传并发送邮件
     * @param examinationReport
     */
    void uplodedAndSendEmail(ExaminationReport examinationReport,String username) throws IOException;
}
